package com.wicket.okrframework.base.service;

import com.wicket.okrframework.base.service.dto.req.ImplementSpinLockCheckBaseBatchReq;
import com.wicket.okrframework.base.service.dto.req.QueryBaseBatchDetailReq;
import com.wicket.okrframework.base.service.dto.req.QueryBaseBatchListReq;
import com.wicket.okrframework.dal.po.mbg.Batch;

import java.util.List;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
public interface MBatchService {
    /**
   * 1-1-01查询底层框架服务批次列表
   */
    List<Batch> queryBaseBatchList(QueryBaseBatchListReq reqDto);

    /**
   * 1-1-01查询底层框架服务批次详情
   */
    Batch queryBaseBatchDetail(QueryBaseBatchDetailReq reqDto);

    /**
   * 1-1-01删除底层框架服务批次	
   */
    boolean deleteBaseBatch(String batchId );

    /**
   * 1-1-01修改底层框架服务批次	
   */
    boolean updateBaseBatch(Batch batch);

    /**
   * 1-1-01新增底层框架服务批次
   */
    String addBaseBatch(Batch batch);
/**
   * 1-1-01执行悬停查批次
   */
    Batch implementSpinLockCheckBaseBatch(ImplementSpinLockCheckBaseBatchReq reqDto);
    //
}
